<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="refresh">
    <meta charset="utf-8">
    <meta name="renderer" product="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" product="IE=edge,chrome=1">
    <meta name="viewport" product="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" product="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>登录页配置</title>
</head>
<body>
<nav class="breadcrumb">运营管理 <span class="c-gray en">&gt;</span> 大客户价配置 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-member"  method="post">
        <div id="tab_topnav" class="HuiTab">
            <div class="tabBar clearfix"><span>活动配置</span></div>
            <!--登录页配置-->
            <div class="tabCon bg-1 bk-gray pb-10">
                <div class="lh-20 pd-10">
                    <table class="table_li mb-10 table">
                        <thead class="text-l">
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l label-7">选择配置内容：</label>
                                    <span class="select-box size-M radius col-xs-8" style="width:70%">
                                    <select class="select" name="brandclass" size="1" id="category_id" onclick="discount()"></select>
                                    </span>
                                </div>
                            </td>
                            <td class="col-3-2" colspan="2">&nbsp;</td>
                        </tr>
                        </thead>
                    </table>

                    <div class="line"></div>

                    <table class="table_li mb-10 table">
                        <thead class="text-l">
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                <label class="form-label f-l label-6">筛选生效时间：</label>
                                    <div class="f-l ml-10">
                                        <input type="text" class="input-text Wdate radius" style="width:115px" id="logmin" readonly placeholder="请选择时间"><span class="pd-5">~</span><input type="text" class="input-text Wdate radius" style="width:115px" id="logmax" readonly placeholder="请选择时间">
                                    </div>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l label-4">筛选状态：</label>
                                    <span class="select-box size-M radius col-xs-8" style="width:70%">
                                    <select class="select" name="brandclass" size="1" id="shaixuan">
                                        <option value="100" selected>请选择筛选状态</option>
                                        <option value="1">生效</option>
                                        <option value="2">失效</option>
                                        <option value="0">未生效</option>
                                    </select>
                                    </span>
                                </div>
                            </td>
                            <td class="col-3-1">&nbsp;</td>
                        </tr>
                        </thead>
                    </table>
                    <div class="text-c pt-10 pb-20">
                            <input id="tianjia" type="button" class="btn btn-secondary radius size-S" onclick="dump_add('添加','product_add.html')" value="添&nbsp;&nbsp;加">
                            <input id="" type="submit" class="btn btn-secondary radius size-S ml-10" value="查&nbsp;&nbsp;询">
                            <input name="" type="reset" class="btn radius size-S ml-10" value="重&nbsp;&nbsp;置">
                    </div>
                    <!--<table class="table-hover table_li ml-10 mb-10 table">-->
                        <!--<thead class="text-l">-->
                        <!--<tr>-->
                            <!--<td colspan="2" class="col-3-2">-->
                        <!--</tr>-->
                        <!--</thead>-->
                    <!--</table>-->
                <!--</div>-->
                <!--<div class="text-l pl-20">-->
                    <!--<input class="page-container" type="button" onclick="dump_add('添加','product_add.html')" value="添加">-->
                <!--</div>-->
                </div>
                <table class="table table-border table-bordered table-hover table-bg table-sort mt-10" id="datatable">
                    <thead>
                    <tr class="text-c">
                        <th width="100">标题</th>
                        <th width="50">价格基数</th>
                        <th width="50">折扣率</th>
                        <th width="100">生效时间</th>
                        <th width="50">状态</th>
                        <th width="50">创建人</th>
                        <th width="100">创建时间</th>
                        <th width="50">操作</th>
                    </tr>
                    </thead>
                    <tbody class="shun">
                    </tbody>
                </table>
                <div class="mt-40"></div>
            </div>
        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../../ht-js/operation-js/operation_product/product_login.js?rev=@@hash"></script>
<!--报错就是位置错了-->
<link type="text/css" rel="stylesheet" href="../../../ht-js/operation-js/time-js/jedate.css">
<script type="text/javascript" src="../../../ht-js/operation-js/time-js/jquery.jedate.js?rev=@@hash"></script>
<script>
    var start = {
        format: 'YYYY-MM-DD hh:mm',
        okfun: function(obj){
            end.minDate = obj.val; //开始日选好后，重置结束日的最小日期
            endDates();
        }
    };
    var end = {
        format: 'YYYY-MM-DD hh:mm',
        minDate: $.nowDate({DD:0}), //设定最小日期为当前日期
        okfun: function(obj){
            start.maxDate = obj.val; //将结束日的初始值设定为开始日的最大日期
        }
    };
    //这里是日期联动的关键
    function endDates() {
        //将结束日期的事件改成 false 即可
        end.trigger = false;
        $("#logmax").jeDate(end);
    }
    $('#logmin').jeDate(start);
    $('#logmax').jeDate(end);


    jQuery.Huitab =function(tabBar,tabCon,class_name,tabEvent,i){
        var $tab_menu=$(tabBar);
        // 初始化操作
        $tab_menu.removeClass(class_name);
        $(tabBar).eq(i).addClass(class_name);
        $(tabCon).hide();
        $(tabCon).eq(i).show();

        $tab_menu.bind(tabEvent,function(){
            $tab_menu.removeClass(class_name);
            $(this).addClass(class_name);
            var index=$tab_menu.index(this);
            $(tabCon).hide();
            $(tabCon).eq(index).show()})}

    $(function(){
        $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","0")});
    // #tab_demo 父级id
    // #tab_demo .tabBar span 控制条
    // #tab_demo .tabCon 内容区
    // click 事件 点击切换，可以换成mousemove 移动鼠标切换
    // 1	默认第2个tab为当前状态（从0开始）

    /* 添加*/
    function dump_add(title,url){
        console.log(url)
        var category_id=$("#category_id").val();
        var index = layer.open({
            type: 2,
            title: title,
            content: url+"?category_id=" + category_id
        });
        layer.full(index);
    }
    /*/!* 编辑*!/
    function edit(){
        var lunbotu=$("#lunbotu").val();


        var index = layer.open({
            type: 2,
            title: title,
            product: url+"?id="+
        });
        layer.full(index);
    }*/
</script>
</body>
</html>